package com.cn.factory;

public class FactoryTest {

    public static void main(String[] args) {
        Sender smsSender = new SmsFactory().produce();
        smsSender.send();

        Sender mainSender = new MailFactory().produce();
        mainSender.send();
    }

}
